FSMBuilder

class FSMBuilder(statesManager: StatesManager)

Functions

add
Link copied to clipboard
common
fun <I : State> add(kClass: KClass<I>, handler: StatesHandler<I>)
addStrict
Link copied to clipboard
common
fun <I : State> addStrict(kClass: KClass<I>, handler: StatesHandler<I>)
build
Link copied to clipboard
common
fun build(): DefaultStatesMachine

Properties

statesManager
Link copied to clipboard
common
var statesManager: StatesManager

Extensions

onStateOrSubstate
Link copied to clipboard
inline fun <I : State> FSMBuilder.onStateOrSubstate(handler: StatesHandler<I>)
inline fun <I : State> FSMBuilder.onStateOrSubstate(handler: StatesHandler<I>)
inline fun <I : State> FSMBuilder.onStateOrSubstate(handler: StatesHandler<I>)
strictlyOn
Link copied to clipboard
inline fun <I : State> FSMBuilder.strictlyOn(handler: StatesHandler<I>)
inline fun <I : State> FSMBuilder.strictlyOn(handler: StatesHandler<I>)
inline fun <I : State> FSMBuilder.strictlyOn(handler: StatesHandler<I>)